package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单计划对象 sys_form_plan
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
@Data
public class SysFormPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private String Status;

    /** 计划ID */
    private Long planId;

    /** 项目ID，关联sys_project表 */
    @Excel(name = "项目ID，关联sys_project表")
    private Long projectId;

    /** 表单名 */
    @Excel(name = "表单名")
    private String formName;

    /** 考核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public void setFormName(String formName) 
    {
        this.formName = formName;
    }

    public String getFormName() 
    {
        return formName;
    }

    public void setInspectionDate(Date inspectionDate) 
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate() 
    {
        return inspectionDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planId", getPlanId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("projectId", getProjectId())
            .append("formName", getFormName())
            .append("inspectionDate", getInspectionDate())
            .toString();
    }
}
